<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>订单打印</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="" rel="stylesheet">
<style type="text/css">
	table{
        padding-top: 5px;
        width: 100%;
        border-top:1px solid #000;
        border-left: 1px solid #000}
	td{ border-right: 1px solid #000;
        border-bottom:1px solid #000;}
    p{font-size:14px; text-align: center; margin:0 10px 0;}
</style>

<style   media="print">   
  .Noprint   {   DISPLAY:   none;}   
  .PageNext   {   PAGE-BREAK-AFTER:   always   }   
</style>  

</head>
<body>
    {volist name="list" id='v'}
        {for start="0" end="$v['num']"}

    	<table cellspacing="0" class="PageNext">
    	<tr>
    		<td>
    			<p><img src="{:url('Brcode/index',['specval_id'=>$v['goods_specval_id']])}"></p>
    			<p><b>{if($v['brand_name'])}（{$v.brand_name}）{/if}{$v.goods_name} （{$i+1}/{$v['num']}）</b></p>
    			<p>{$v.goods_specval_name}</p>
    		</td>
    	</tr>
        <tr>
            <td><p>{$order['receiver_name']}{if($order['shop_name'])}（{$order['shop_name']}）{/if}</p></td>
        </tr>
    	</table>
        {/for}
    {/volist}
    <script type="text/javascript">
    	window.onload = function(){
    		window.print();
    		setTimeout(function(){
    			window.parent.closeIfram();
    		},1000)
    	}
    </script>
</body>
</html>